package cn.ztuo.bitrade.model.update;


import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import java.math.BigDecimal;

@Data
public class ContractCoinUpdate {


    private Integer id;

    @NotBlank(message = "symbol不能为空")
    private String symbol;

    //基础货币
    private String baseSymbol;

    //基础货币的利率
    private String baseSymbolScale;

    //计价货币
    private String coinSymbol;

    //计价货币的利率
    private String coinSymbolScale;

    //提取流动性费率
    private String mentionFee;

    //提供流动性费率
    private String provideFee;

    //最小挂单量
    private BigDecimal minVolume;

    //最大挂单量
    private BigDecimal maxVolume;

    //最大允许同时交易的订单数，0表示不限制
    private  Integer maxTradingOrder;

    //排序
    private  Integer sort;

    //状态
    private Integer enable;
    //手续费率
    private BigDecimal feeRate = BigDecimal.ZERO;
}
